public class slide extends Applet implements Runnable {
private Thread m_slide;
private Button m_PrevButton;
private Button m_NextButton;
private Button m_FirstButton;
private Button m_LastButton;
private Button m_ForwardButton;
private Button m_BackwardButton;
private Button m_StopButton;
private Button m_PauseButton;
private boolean m_fInit;
private Graphics m_Graphics;
private Image m_Image;
private int m_nCurrImage;
private int m_nImgWidth;
private int m_nImgHeight;
private boolean m_fLoaded;
private boolean m_pause;
private Color m_backColor;
private Point m_ptName;
private Rectangle m_rcImage;
private int m_imgnum = 3;
private int m_sleep = 1000;
private boolean m_zoom = true;
private int m_maxwidth;
private int m_maxheight;
private boolean m_srcname;
private int m_redback;
private int m_greenback;
private int m_blueback;
private boolean m_haspanel;
private String m_imgname;
private final String PARAM_imgnum = "imgnum";
private final String PARAM_sleep = "sleep";
private final String PARAM_zoom = "zoom";
private final String PARAM_maxwidth = "maxwidth";
private final String PARAM_maxheight = "maxheight";
private final String PARAM_srcname = "srcname";
private final String PARAM_redback = "redback";
private final String PARAM_greenback = "greenback";
private final String PARAM_blueback = "blueback";
private final String PARAM_haspanel = "haspanel";
private final String PARAM_imgname = "img";
public void stop() {
if (this.m_slide != null) {
this.m_slide.stop();
this.m_slide = null;
}
this.m_pause = true;
}
public void paint(Graphics var1) {
if (this.m_fLoaded) {
this.displayImage(var1);
}
}
public String[][] getParameterInfo() {
String[][] var1 = new String[][]{{"imgnum", "int", "Number of images"}, {"sleep", "int", "Sleep time (ms)"}, {"zoom", "int", "Zoom or not"}, {"maxwidth", "int", "Max image width"}, {"maxheight", "int", "Max image height"}, {"srcname", "int", "Show source name or not"}, {"redback", "int", "Back color of red"}, {"greenback", "int", "Back color of green"}, {"blueback", "int", "Back color of blue"}, {"haspanel", "int", "Show control panel or not"}};